<script lang="ts" setup name="App">
import Preson from "./components/Preson.vue";
import {reactive, ref} from "vue";
import type {Persons} from "@/types";
// let x = ref(9)

let personList = reactive<Persons>([
  {name:'张三',age:19,id:'1'},
  {name:'李四',age:10,id:'2'},
  {name:'王五',age:15,id:'3'}
])
</script>

<template>
  <div id="app">
<!--    务必看懂下面这一行-->
<!--    <h2 a="1+1" :b="1+1" c="x" :d="x">??</h2>-->


    <Preson ref="ren" a="哈哈" :personList="personList"/>
  </div>
</template>

